package com.lovo.psc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lovo
 * @since 2022-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("psc_purchase")
public class Purchase extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "PK_purchaseId", type = IdType.AUTO)
    private Integer pkPurchaseid;

    private Integer fkuserId;

    private String number;

    @TableField("commodityName")
    private String commodityname;

    @TableField("commoditySort")
    private String commoditysort;

    @TableField("commodityNum")
    private Integer commoditynum;

    @TableField("commoditySiei")
    private String commoditysiei;


}
